home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / animated_props.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  5.8 KB  |  277 lines

  1. //A-frame Phone Pole
  2. phone_pole_wood
  3. {
  4.     qer_editorimage textures/models/phone_pole/telephone_pole_wood_dark.tga
  5.     {
  6.         map textures/models/phone_pole/telephone_pole_wood_dark.tga
  7.         rgbGen lightingSpherical
  8.     }
  9. }
  10. phone_pole_insulator
  11. {
  12.     qer_editorimage textures/models/phone_pole/telephone_pole_insulator.tga
  13.     {
  14.         map textures/models/phone_pole/telephone_pole_insulator.tga
  15.         rgbGen lightingSpherical
  16.     }
  17. }
  18. phone_pole_wood_dark
  19. {
  20.     qer_editorimage textures/models/phone_pole/telephone_pole_wood_light.tga
  21.     {
  22.         map textures/models/phone_pole/telephone_pole_wood_light.tga
  23.         rgbGen lightingSpherical
  24.     }
  25. }
  26. phone_pole_wires
  27. {
  28.     qer_editorimage textures/models/phone_pole/telephone_pole_wire_snow.tga
  29.     {
  30.         map textures/models/phone_pole/telephone_pole_wire_snow.tga
  31.         rgbGen lightingSpherical
  32.     }
  33. }
  34.  
  35. // 1_3 row boat
  36. rowboat_planks
  37. {
  38.     qer_editorimage textures/models/animate/1_3_Rowboat/planks.tga
  39.     cull none
  40.     {
  41.         map textures/models/animate/1_3_Rowboat/planks.tga
  42.         rgbGen lightingSpherical
  43.     }
  44. }
  45. rowboat_ring
  46. {
  47.     qer_editorimage textures/models/animate/1_3_Rowboat/ring.tga
  48.     cull none
  49.     {
  50.         map textures/models/animate/1_3_Rowboat/ring.tga
  51. //        blendfunc blend 
  52.         rgbGen lightingSpherical
  53.     }
  54. }
  55.  
  56. // BMW motorcycle
  57. bmw_wheel
  58. {
  59.     qer_editorimage textures/models/animate/1_3_bmw/bmw_wheel.tga
  60.     {
  61.         map textures/models/animate/1_3_bmw/bmw_wheel.tga
  62.         rgbGen lightingSpherical
  63.     }
  64. }
  65. bmw_wheel2
  66. {
  67.     qer_editorimage textures/models/animate/1_3_bmw/bmw_wheel1.tga
  68.     cull none
  69.     {
  70.         map textures/models/animate/1_3_bmw/bmw_wheel1.tga
  71. //        blendfunc blend
  72.         alphafunc GE128
  73.         depthwrite
  74.         rgbGen lightingSpherical
  75.     }
  76. }
  77.  
  78. bmw_body
  79. {
  80.     qer_editorimage textures/models/animate/1_3_bmw/bmw_body.tga
  81.     cull none
  82.     {
  83.         map textures/models/animate/1_3_bmw/bmw_body.tga
  84.         rgbGen lightingSpherical
  85.     }
  86. }
  87. bmw_handlebars
  88. {
  89.     qer_editorimage textures/models/animate/1_3_bmw/bmw_handlebars.tga
  90.     cull none
  91.     {
  92.         map textures/models/animate/1_3_bmw/bmw_handlebars.tga
  93.         rgbGen lightingSpherical
  94.     }
  95. }
  96. bmw_flic
  97. {
  98.     qer_editorimage textures/models/animate/1_3_bmw/lic1.tga
  99. //    cull none
  100.     {
  101.         map textures/models/animate/1_3_bmw/lic1.tga
  102.         blendfunc blend
  103.         rgbGen lightingSpherical
  104.     }
  105. }
  106. bmw_blic
  107. {
  108.     qer_editorimage textures/models/animate/1_3_bmw/mc_back_plate.tga
  109.     cull none
  110.     {
  111.         map textures/models/animate/1_3_bmw/mc_back_plate.tga
  112.         blendfunc blend
  113.         rgbGen lightingSpherical
  114.     }
  115. }
  116. bmw_disc
  117. {
  118.     qer_editorimage textures/models/animate/1_3_bmw/wheel_disc.tga
  119.     cull none
  120.     {
  121.         map textures/models/animate/1_3_bmw/wheel_disc.tga
  122.         blendfunc blend
  123.         rgbGen lightingSpherical
  124.     }
  125. }
  126.  
  127. // BMW motorcycle snow
  128. bmw_wheel_s
  129. {
  130.     qer_editorimage textures/models/animate/1_3_bmw/bmw_wheel_s.tga
  131.     {
  132.         map textures/models/animate/1_3_bmw/bmw_wheel_s.tga
  133.         rgbGen lightingSpherical
  134.     }
  135. }
  136.  
  137. bmw_body_s
  138. {
  139.     qer_editorimage textures/models/animate/1_3_bmw/bmw_body_s.tga
  140.     cull none
  141.     {
  142.         map textures/models/animate/1_3_bmw/bmw_body_s.tga
  143.         rgbGen lightingSpherical
  144.     }
  145. }
  146. bmw_handlebars_s
  147. {
  148.     qer_editorimage textures/models/animate/1_3_bmw/bmw_handlebars_s.tga
  149.     cull none
  150.     {
  151.         map textures/models/animate/1_3_bmw/bmw_handlebars_s.tga
  152.         rgbGen lightingSpherical
  153.     }
  154. }
  155.  
  156. bmw_disc_s
  157. {
  158.     qer_editorimage textures/models/animate/1_3_bmw/wheel_disc_s.tga
  159.     cull none
  160.     {
  161.         map textures/models/animate/1_3_bmw/wheel_disc_s.tga
  162.         blendfunc blend
  163.         rgbGen lightingSpherical
  164.     }
  165. }
  166.  
  167. // 3_1 Safe
  168. safe_main
  169. {
  170.     qer_editorimage textures/models/animate/3_1_Safe/safe.tga
  171.     {
  172.         map textures/models/animate/3_1_Safe/safe.tga
  173.         rgbGen lightingSpherical
  174.     }
  175. }
  176.  
  177. safe_dial_pulse
  178. {
  179.     {
  180.         map textures/models/animate/3_1_Safe/safe.tga
  181.         rgbGen lightingSpherical
  182.         blendfunc gl_src_alpha gl_one
  183.     }
  184.     { // pulsating layer
  185.         map textures/models/items/pulse.tga
  186.         blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
  187.         rgbGen wave sin 0.25 0.25 0 0.75
  188.         alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
  189.     }
  190. }
  191.  
  192. safe_docs_pulse
  193. {
  194.     qer_editorimage textures/models/animate/3_1_Safe/safe_docs.tga
  195.     {
  196.         map textures/models/animate/3_1_Safe/safe_docs.tga
  197.         rgbGen lightingSpherical
  198.         blendfunc gl_src_alpha gl_one
  199.     }
  200.     { // pulsating layer
  201.         map textures/models/items/pulse.tga
  202.         blendFunc GL_SRC_ALPHA GL_ONE // this is an additive blend that uses alpha
  203.         rgbGen wave sin 0.25 0.25 0 0.75
  204.         alphaGen distFade 1024 512 // this makes the pulsating fade when you go away from it
  205.     }
  206. }
  207.  
  208. // Paratrooper Billboard
  209. paratrooper_chute
  210. {
  211.     qer_editorimage textures/models/animate/Paratrooper_billboard/Parachute.tga
  212.     cull none
  213.     {
  214.         map textures/models/animate/Paratrooper_billboard/Parachute.tga
  215.         alphafunc GE128
  216.         rgbGen lightingSpherical
  217.     }
  218. }
  219. paratrooper
  220. {
  221.     qer_editorimage textures/models/animate/Paratrooper_billboard/paratrooper.tga
  222.     {
  223.         map textures/models/animate/Paratrooper_billboard/paratrooper.tga
  224.         alphafunc GE128
  225.         rgbGen lightingSpherical
  226.     }
  227. }
  228. paratrooper_cords
  229. {
  230.     qer_editorimage textures/models/animate/Paratrooper_billboard/ConeCord.tga
  231.     cull none
  232.     {
  233.         map textures/models/animate/Paratrooper_billboard/ConeCord.tga
  234.         alphafunc GE128
  235.         rgbGen lightingSpherical
  236.     }
  237. }
  238. // Lamp_post_damaged
  239. post_d
  240. {
  241.     qer_editorimage textures/models/animate/Lamp_d/t_postD.tga
  242.     {
  243.         map textures/models/animate/Lamp_d/t_postD.tga
  244.         rgbGen lightingSpherical
  245.     }
  246. }
  247. support_d
  248. {
  249.     qer_editorimage textures/models/animate/Lamp_d/supportD.tga
  250.     cull none
  251.     {
  252.         map textures/models/animate/Lamp_d/supportD.tga
  253.         alphafunc GE128
  254.         rgbGen lightingSpherical
  255.     }
  256. }
  257. lantern_d
  258. {
  259.     qer_editorimage textures/models/animate/Lamp_d/lanternD.tga
  260.     cull none
  261.     {
  262.         map textures/models/animate/Lamp_d/lanternD.tga
  263.         alphafunc GE128
  264.         rgbGen lightingSpherical
  265.     }
  266. }
  267.  
  268. opel_cover2
  269. {
  270.     qer_editorimage textures/models/vehicles/opel_w/cover2.tga
  271.     {
  272.         map textures/models/vehicles/opel_w/cover2.tga
  273.         rgbGen lightingSpherical
  274.     }
  275. }
  276.  
  277.